package com.sudichina.sudichina.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by mccccccmike on 2017/2/16.
 */

public class Line implements Parcelable {


    @Override
    public String toString() {
        return "Line{" +
                "id='" + id + '\'' +
                ", status='" + status + '\'' +
                ", gmtCreate='" + gmtCreate + '\'' +
                ", gmtModified='" + gmtModified + '\'' +
                ", accountId='" + accountId + '\'' +
                ", carId='" + carId + '\'' +
                ", dicId='" + dicId + '\'' +
                ", toZoneCode='" + toZoneCode + '\'' +
                ", fromZoneCode='" + fromZoneCode + '\'' +
                ", laLoPosition='" + laLoPosition + '\'' +
                ", verifyAccountId='" + verifyAccountId + '\'' +
                ", type='" + type + '\'' +
                ", fromAddress='" + fromAddress + '\'' +
                ", infoValid='" + infoValid + '\'' +
                ", priceDun='" + priceDun + '\'' +
                ", priceSquare='" + priceSquare + '\'' +
                ", priceKg='" + priceKg + '\'' +
                ", priceAll='" + priceAll + '\'' +
                ", prickDoor='" + prickDoor + '\'' +
                ", prickStation='" + prickStation + '\'' +
                ", releaseTime='" + releaseTime + '\'' +
                ", arriveTime='" + arriveTime + '\'' +
                ", sendTime='" + sendTime + '\'' +
                ", sendDate='" + sendDate + '\'' +
                ", pushDate='" + pushDate + '\'' +
                ", pushTime='" + pushTime + '\'' +
                ", level='" + level + '\'' +
                ", isUse='" + isUse + '\'' +
                ", addService='" + addService + '\'' +
                ", isLock='" + isLock + '\'' +
                ", dicName='" + dicName + '\'' +
                ", dirverName='" + dirverName + '\'' +
                ", carWeight='" + carWeight + '\'' +
                ", tlist=" + tlist +
                ", ttLinevo=" + ttLinevo +
                '}';
    }

    private String id;
    private String status;
    private String gmtCreate;
    private String gmtModified;
    private String accountId;
    private String carId;
    private String dicId;
    private String toZoneCode;
    private String fromZoneCode;
    private String laLoPosition;
    private String verifyAccountId;
    private String type;
    private String fromAddress;
    private String infoValid;
    private String priceDun;
    private String priceSquare;
    private String priceKg;
    private String priceAll;
    private String prickDoor;
    private String prickStation;
    private String releaseTime;
    private String arriveTime;
    private String sendTime;
    private String sendDate;
    private String pushDate;
    private String pushTime;
    private String level;
    private String isUse;
    private String addService;
    private String isLock;
    private String dicName;
    private String dirverName;
    private String carWeight;
    private List<TTranLineSeviceVO> tlist;
    private List<TTranLineSegmentVO> ttLinevo;

    public String getDicName() {
        return dicName;
    }

    public void setDicName(String dicName) {
        this.dicName = dicName;
    }

    public String getDirverName() {
        return dirverName;
    }

    public void setDirverName(String dirverName) {
        this.dirverName = dirverName;
    }

    public String getCarWeight() {
        return carWeight;
    }

    public void setCarWeight(String carWeight) {
        this.carWeight = carWeight;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(String gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(String gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getDicId() {
        return dicId;
    }

    public void setDicId(String dicId) {
        this.dicId = dicId;
    }

    public String getToZoneCode() {
        return toZoneCode;
    }

    public void setToZoneCode(String toZoneCode) {
        this.toZoneCode = toZoneCode;
    }

    public String getFromZoneCode() {
        return fromZoneCode;
    }

    public void setFromZoneCode(String fromZoneCode) {
        this.fromZoneCode = fromZoneCode;
    }

    public String getLaLoPosition() {
        return laLoPosition;
    }

    public void setLaLoPosition(String laLoPosition) {
        this.laLoPosition = laLoPosition;
    }

    public String getVerifyAccountId() {
        return verifyAccountId;
    }

    public void setVerifyAccountId(String verifyAccountId) {
        this.verifyAccountId = verifyAccountId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFromAddress() {
        return fromAddress;
    }

    public void setFromAddress(String fromAddress) {
        this.fromAddress = fromAddress;
    }

    public String getInfoValid() {
        return infoValid;
    }

    public void setInfoValid(String infoValid) {
        this.infoValid = infoValid;
    }

    public String getPriceDun() {
        return priceDun;
    }

    public void setPriceDun(String priceDun) {
        this.priceDun = priceDun;
    }

    public String getPriceSquare() {
        return priceSquare;
    }

    public void setPriceSquare(String priceSquare) {
        this.priceSquare = priceSquare;
    }

    public String getPriceKg() {
        return priceKg;
    }

    public void setPriceKg(String priceKg) {
        this.priceKg = priceKg;
    }

    public String getPriceAll() {
        return priceAll;
    }

    public void setPriceAll(String priceAll) {
        this.priceAll = priceAll;
    }

    public String getPrickDoor() {
        return prickDoor;
    }

    public void setPrickDoor(String prickDoor) {
        this.prickDoor = prickDoor;
    }

    public String getPrickStation() {
        return prickStation;
    }

    public void setPrickStation(String prickStation) {
        this.prickStation = prickStation;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(String arriveTime) {
        this.arriveTime = arriveTime;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getSendDate() {
        return sendDate;
    }

    public void setSendDate(String sendDate) {
        this.sendDate = sendDate;
    }

    public String getPushDate() {
        return pushDate;
    }

    public void setPushDate(String pushDate) {
        this.pushDate = pushDate;
    }

    public String getPushTime() {
        return pushTime;
    }

    public void setPushTime(String pushTime) {
        this.pushTime = pushTime;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getIsUse() {
        return isUse;
    }

    public void setIsUse(String isUse) {
        this.isUse = isUse;
    }

    public String getAddService() {
        return addService;
    }

    public void setAddService(String addService) {
        this.addService = addService;
    }

    public String getIsLock() {
        return isLock;
    }

    public void setIsLock(String isLock) {
        this.isLock = isLock;
    }

    public List<TTranLineSeviceVO> getTlist() {
        return tlist;
    }

    public void setTlist(List<TTranLineSeviceVO> tlist) {
        this.tlist = tlist;
    }

    public List<TTranLineSegmentVO> getTtLinevo() {
        return ttLinevo;
    }

    public void setTtLinevo(List<TTranLineSegmentVO> ttLinevo) {
        this.ttLinevo = ttLinevo;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.id);
        dest.writeString(this.status);
        dest.writeString(this.gmtCreate);
        dest.writeString(this.gmtModified);
        dest.writeString(this.accountId);
        dest.writeString(this.carId);
        dest.writeString(this.dicId);
        dest.writeString(this.toZoneCode);
        dest.writeString(this.fromZoneCode);
        dest.writeString(this.laLoPosition);
        dest.writeString(this.verifyAccountId);
        dest.writeString(this.type);
        dest.writeString(this.fromAddress);
        dest.writeString(this.infoValid);
        dest.writeString(this.priceDun);
        dest.writeString(this.priceSquare);
        dest.writeString(this.priceKg);
        dest.writeString(this.priceAll);
        dest.writeString(this.prickDoor);
        dest.writeString(this.prickStation);
        dest.writeString(this.releaseTime);
        dest.writeString(this.arriveTime);
        dest.writeString(this.sendTime);
        dest.writeString(this.sendDate);
        dest.writeString(this.pushDate);
        dest.writeString(this.pushTime);
        dest.writeString(this.level);
        dest.writeString(this.isUse);
        dest.writeString(this.addService);
        dest.writeString(this.isLock);
        dest.writeString(this.dicName);
        dest.writeString(this.dirverName);
        dest.writeString(this.carWeight);
        dest.writeList(this.tlist);
        dest.writeList(this.ttLinevo);
    }

    public Line() {
    }

    protected Line(Parcel in) {
        this.id = in.readString();
        this.status = in.readString();
        this.gmtCreate = in.readString();
        this.gmtModified = in.readString();
        this.accountId = in.readString();
        this.carId = in.readString();
        this.dicId = in.readString();
        this.toZoneCode = in.readString();
        this.fromZoneCode = in.readString();
        this.laLoPosition = in.readString();
        this.verifyAccountId = in.readString();
        this.type = in.readString();
        this.fromAddress = in.readString();
        this.infoValid = in.readString();
        this.priceDun = in.readString();
        this.priceSquare = in.readString();
        this.priceKg = in.readString();
        this.priceAll = in.readString();
        this.prickDoor = in.readString();
        this.prickStation = in.readString();
        this.releaseTime = in.readString();
        this.arriveTime = in.readString();
        this.sendTime = in.readString();
        this.sendDate = in.readString();
        this.pushDate = in.readString();
        this.pushTime = in.readString();
        this.level = in.readString();
        this.isUse = in.readString();
        this.addService = in.readString();
        this.isLock = in.readString();
        this.dicName = in.readString();
        this.dirverName = in.readString();
        this.carWeight = in.readString();
        this.tlist = new ArrayList<TTranLineSeviceVO>();
        in.readList(this.tlist, TTranLineSeviceVO.class.getClassLoader());
        this.ttLinevo = new ArrayList<TTranLineSegmentVO>();
        in.readList(this.ttLinevo, TTranLineSegmentVO.class.getClassLoader());
    }

    public static final Creator<Line> CREATOR = new Creator<Line>() {
        @Override
        public Line createFromParcel(Parcel source) {
            return new Line(source);
        }

        @Override
        public Line[] newArray(int size) {
            return new Line[size];
        }
    };

}
